package com.example.sunmiv1.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class DepositGoodsEditInfo implements Serializable{
    /**
     * data : [{"id":"1038","merchant_id":"2","store_id":"62","purchase_order_id":"86","warehouse_id":"29","supplier_id":"1254","goods_id":"22728","sku_id":"0","goods_name":"GV","sku_name":"","sku_id_list":"","goods_class_id":"1026","goods_number":"125454","sku_goods_number":"","goods_code":"123123","sku_code":"","company":null,"attribute_state":"1","pricing_method":"2","purchase_price":1,"sku_num":1,"purchase_num":10,"surplus_num":"10.000","warehousing_num":0,"retreat_num":0,"subtotal":10,"remarks":null,"order_number":"SC202001020086","add_time":"1577959730","operated_num":0}]
     * status : 1
     */

    private int status;
    private List<DataBean> data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements Serializable {
        /**
         * id : 1038
         * merchant_id : 2
         * store_id : 62
         * purchase_order_id : 86
         * warehouse_id : 29
         * supplier_id : 1254
         * goods_id : 22728
         * sku_id : 0
         * goods_name : GV
         * sku_name :
         * sku_id_list :
         * goods_class_id : 1026
         * goods_number : 125454
         * sku_goods_number :
         * goods_code : 123123
         * sku_code :
         * company : null
         * attribute_state : 1
         * pricing_method : 2
         * purchase_price : 1
         * sku_num : 1
         * purchase_num : 10
         * surplus_num : 10.000
         * warehousing_num : 0
         * retreat_num : 0
         * subtotal : 10
         * remarks : null
         * order_number : SC202001020086
         * add_time : 1577959730
         * operated_num : 0
         */

        private String id;
        private String merchant_id;
        private String store_id;
        private String purchase_order_id;
        private String warehouse_id;
        private String supplier_id;
        private String goods_id;
        private String sku_id;
        private String goods_name;
        private String sku_name;
        private String sku_id_list;
        private String goods_class_id;
        private String goods_number;
        private String sku_goods_number;
        private String goods_code;
        private String sku_code;
        private String company;
        private String attribute_state;
        private String pricing_method;
        private Double purchase_price;
        private Double sku_num;
        private Double purchase_num;
        private String surplus_num;
        private Double warehousing_num;
        private Double retreat_num;
        private Double subtotal;
        private String remarks;
        private String order_number;
        private String add_time;
        private Double operated_num;
        private boolean checked;
        private String serial_number_state;
        private List<SerialListBean> serial_list;
        private String retail_price;
        private String online_price;

        public String getRetail_price() {
            return retail_price == null ? "" : retail_price;
        }

        public void setRetail_price(String retail_price) {
            this.retail_price = retail_price;
        }

        public String getOnline_price() {
            return online_price == null ? "" : online_price;
        }

        public void setOnline_price(String online_price) {
            this.online_price = online_price;
        }

        public List<SerialListBean> getSerial_list() {
            if (serial_list == null) {
                return new ArrayList<>();
            }
            return serial_list;
        }

        public void setSerial_list(List<SerialListBean> serial_list) {
            this.serial_list = serial_list;
        }

        public String getSerial_number_state() {
            return serial_number_state == null ? "" : serial_number_state;
        }

        public void setSerial_number_state(String serial_number_state) {
            this.serial_number_state = serial_number_state;
        }

        public String getId() {
            return id == null ? "" : id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getMerchant_id() {
            return merchant_id == null ? "" : merchant_id;
        }

        public void setMerchant_id(String merchant_id) {
            this.merchant_id = merchant_id;
        }

        public String getStore_id() {
            return store_id == null ? "" : store_id;
        }

        public void setStore_id(String store_id) {
            this.store_id = store_id;
        }

        public String getPurchase_order_id() {
            return purchase_order_id == null ? "" : purchase_order_id;
        }

        public void setPurchase_order_id(String purchase_order_id) {
            this.purchase_order_id = purchase_order_id;
        }

        public String getWarehouse_id() {
            return warehouse_id == null ? "" : warehouse_id;
        }

        public void setWarehouse_id(String warehouse_id) {
            this.warehouse_id = warehouse_id;
        }

        public String getSupplier_id() {
            return supplier_id == null ? "" : supplier_id;
        }

        public void setSupplier_id(String supplier_id) {
            this.supplier_id = supplier_id;
        }

        public String getGoods_id() {
            return goods_id == null ? "" : goods_id;
        }

        public void setGoods_id(String goods_id) {
            this.goods_id = goods_id;
        }

        public String getSku_id() {
            return sku_id == null ? "" : sku_id;
        }

        public void setSku_id(String sku_id) {
            this.sku_id = sku_id;
        }

        public String getGoods_name() {
            return goods_name == null ? "" : goods_name;
        }

        public void setGoods_name(String goods_name) {
            this.goods_name = goods_name;
        }

        public String getSku_name() {
            return sku_name == null ? "" : sku_name;
        }

        public void setSku_name(String sku_name) {
            this.sku_name = sku_name;
        }

        public String getSku_id_list() {
            return sku_id_list == null ? "" : sku_id_list;
        }

        public void setSku_id_list(String sku_id_list) {
            this.sku_id_list = sku_id_list;
        }

        public String getGoods_class_id() {
            return goods_class_id == null ? "" : goods_class_id;
        }

        public void setGoods_class_id(String goods_class_id) {
            this.goods_class_id = goods_class_id;
        }

        public String getGoods_number() {
            return goods_number == null ? "" : goods_number;
        }

        public void setGoods_number(String goods_number) {
            this.goods_number = goods_number;
        }

        public String getSku_goods_number() {
            return sku_goods_number == null ? "" : sku_goods_number;
        }

        public void setSku_goods_number(String sku_goods_number) {
            this.sku_goods_number = sku_goods_number;
        }

        public String getGoods_code() {
            return goods_code == null ? "" : goods_code;
        }

        public void setGoods_code(String goods_code) {
            this.goods_code = goods_code;
        }

        public String getSku_code() {
            return sku_code == null ? "" : sku_code;
        }

        public void setSku_code(String sku_code) {
            this.sku_code = sku_code;
        }

        public String getCompany() {
            return company;
        }

        public void setCompany(String company) {
            this.company = company;
        }

        public String getAttribute_state() {
            return attribute_state == null ? "" : attribute_state;
        }

        public void setAttribute_state(String attribute_state) {
            this.attribute_state = attribute_state;
        }

        public String getPricing_method() {
            return pricing_method == null ? "" : pricing_method;
        }

        public void setPricing_method(String pricing_method) {
            this.pricing_method = pricing_method;
        }

        public Double getPurchase_price() {
            return purchase_price;
        }

        public void setPurchase_price(Double purchase_price) {
            this.purchase_price = purchase_price;
        }

        public Double getSku_num() {
            return sku_num;
        }

        public void setSku_num(Double sku_num) {
            this.sku_num = sku_num;
        }

        public Double getPurchase_num() {
            return purchase_num;
        }

        public void setPurchase_num(Double purchase_num) {
            this.purchase_num = purchase_num;
        }

        public String getSurplus_num() {
            return surplus_num == null ? "" : surplus_num;
        }

        public void setSurplus_num(String surplus_num) {
            this.surplus_num = surplus_num;
        }

        public Double getWarehousing_num() {
            return warehousing_num;
        }

        public void setWarehousing_num(Double warehousing_num) {
            this.warehousing_num = warehousing_num;
        }

        public Double getRetreat_num() {
            return retreat_num;
        }

        public void setRetreat_num(Double retreat_num) {
            this.retreat_num = retreat_num;
        }

        public Double getSubtotal() {
            return subtotal;
        }

        public void setSubtotal(Double subtotal) {
            this.subtotal = subtotal;
        }

        public String getRemarks() {
            return remarks == null ? "" : remarks;
        }

        public void setRemarks(String remarks) {
            this.remarks = remarks;
        }

        public String getOrder_number() {
            return order_number == null ? "" : order_number;
        }

        public void setOrder_number(String order_number) {
            this.order_number = order_number;
        }

        public String getAdd_time() {
            return add_time == null ? "" : add_time;
        }

        public void setAdd_time(String add_time) {
            this.add_time = add_time;
        }

        public Double getOperated_num() {
            return operated_num;
        }

        public void setOperated_num(Double operated_num) {
            this.operated_num = operated_num;
        }

        public boolean isChecked() {
            return checked;
        }

        public void setChecked(boolean checked) {
            this.checked = checked;
        }

        public static class SerialListBean implements Serializable{
            private String id;
            private String main_serial_number;
            private String auxiliary_serial_number_one;
            private String auxiliary_serial_number_two;
            private String num;
            private int edit_status;

            public SerialListBean(String main_serial_number, String auxiliary_serial_number_one, String auxiliary_serial_number_two) {
                this.main_serial_number = main_serial_number;
                this.auxiliary_serial_number_one = auxiliary_serial_number_one;
                this.auxiliary_serial_number_two = auxiliary_serial_number_two;
            }

            public String getId() {
                return id == null ? "" : id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getMain_serial_number() {
                return main_serial_number == null ? "" : main_serial_number;
            }

            public void setMain_serial_number(String main_serial_number) {
                this.main_serial_number = main_serial_number;
            }

            public String getAuxiliary_serial_number_one() {
                return auxiliary_serial_number_one == null ? "" : auxiliary_serial_number_one;
            }

            public void setAuxiliary_serial_number_one(String auxiliary_serial_number_one) {
                this.auxiliary_serial_number_one = auxiliary_serial_number_one;
            }

            public String getAuxiliary_serial_number_two() {
                return auxiliary_serial_number_two == null ? "" : auxiliary_serial_number_two;
            }

            public void setAuxiliary_serial_number_two(String auxiliary_serial_number_two) {
                this.auxiliary_serial_number_two = auxiliary_serial_number_two;
            }

            public String getNum() {
                return num == null ? "" : num;
            }

            public void setNum(String num) {
                this.num = num;
            }

            public int getEdit_status() {
                return edit_status;
            }

            public void setEdit_status(int edit_status) {
                this.edit_status = edit_status;
            }
        }

    }
}
